package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.BuyRecord;
import cn.wolfcode.crm.qo.BuyRecordQueryObject;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBuyRecordService {
    void saveOrUpdate(BuyRecord buyRecord);
    BuyRecord getBuyRecordById(Long id);
    List<BuyRecord> getAll();


    PageInfo<BuyRecord> selectByQuery(BuyRecordQueryObject queryObject);
}
